<script>

//client details
var myParams = {cmd: "getdata",templ: "websitedetail.xsl",ctltype: "WEBSITE",filter: " and ([xmlData].value('(genxml/hidden/itemid)[[1]]', 'nvarchar(10)') = '[<tag type="valueof" xpath="genxml/hidden/websiteid" />]')"};
var cmdget = '/desktopmodules/Nbright/NBrightEspace/XmlConnector.ashx?' + jQuery.param(myParams);
$.fn.initlist('.websitedetails', '', cmdget);

$(document).ready(function () {
	if ($('.websiteid').val() == '') $('a[[id*="cmdGoWebsite"]]').hide();
}); 

</script>	

[<tag id="websiteid" class="websiteid" type="hidden" value="" />]
[<tag id="websiteref" type="hidden" value="" />]
[<tag id="websitename" type="hidden" value="" />]
[<tag id="websiteurl" type="hidden" value="" />]
<div class="nwb-button-container">
<br/>
<div class="nwb-button-group">
[<tag id="cmdGoWebsite" type="linkbutton" cssclass="nwb-button icon search" resourcekey="General.viewwebsite" commandname="gowebsite" commandargument="ItemID" />]
[<tag id="cmdSelectWebsite" type="linkbutton" cssclass="nwb-button icon add hidewhencomplete" resourcekey="General.lblSelectWebsite" commandname="SelectWebsite" commandargument="ItemID" />]
</div>
</div>
<div class="websitedetails"></div>

